package com.diy.sigmund.diycommon.entity.constant;

/**
 * 请求头常量
 *
 * @author ylm-sigmund
 * @since 2021/8/25 16:20
 */
public class HeaderConstant {

    /** "Authorization"，可用于oauth2调用 */
    public static final String AUTHORIZATION = "Authorization";
    /** "Basic " */
    public static final String HEADER_VALUE_BASIC = "Basic ";
    /** "token" */
    public static final String TOKEN = "token";
    /** 内部feign请求头key "innerToken" */
    public static final String INNER_TOKEN = "innerToken";
    /** 内部feign请求头value */
    public static final String INNER_TOKEN_VALUE = "202108291700";
    /** 其它类型的请求，用于拦截器策略 */
    public static final String OTHER = "other";
    /** "Content-Type" */
    public static final String CONTENT_TYPE = "Content-Type";
    /** "application/json" */
    public static final String APPLICATION_JSON_VALUE = "application/json";
}
